@color-primary: #1890ff;

html,
body {
    margin: 0;
    height: 100%;
    font-family: MicrosoftYaHei;
    background-color: #fff;
    color: #333;
    position: relative;
}
html {
    overflow: hidden;
}
body {
    overflow: auto;
    position: relative;
}

* {
    &,
    &:before,
    &:after {
        box-sizing: border-box;
    }
}

body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
form,
fieldset,
legend,
input,
textarea,
p,
blockquote,
th,
td,
hr,
button,
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    margin: 0;
    padding: 0;
}

button,
input,
select,
textarea {
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
}

ul,
ol {
    list-style: none;
}

a {
    text-decoration: none;
    color: @color-primary;
}

input::-ms-clear,
input::-ms-reveal {
    display: none;
}

/* 默认滚动条样式 */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    border: 1px #d3d3d3 solid;
    box-shadow: 0 0 3px #dfdfdf inset;
    border-radius: 5px;
    background: #eee;
}
::-webkit-scrollbar-thumb {
    border: 1px #808080 solid;
    border-radius: 5px;
    background: #999;
}
::-webkit-scrollbar-thumb:hover {
    background: #7d7d7d;
}

.clear {
    &:after {
        content: '';
        display: block;
        width: 0;
        height: 0;
        clear: both;
    }
}

.textIndent {
    text-indent: 2em;
}
.buttonText {
    background: transparent;
    border: 0;
    color: @color-primary;
    padding: 0 8px;
    cursor: pointer;
    border-radius: 5px;
    &:hover {
        background-color: @color-primary;
        color: #fff;
    }
}

.blockTitle {
    margin: 20px auto;
    font-weight: bold;
    text-align: left;
    font-size: 24px;
    line-height: 24px;
    display: flex;
    align-items: center;
    &::before {
        content: '';
        display: inline-block;
        width: 4px;
        height: 24px;
        border-radius: 1px;
        background-color: @color-primary;
        margin-right: 12px;
    }
    &.blockDark {
        color: #fff;
        &::before {
            background-color: #fff;
        }
    }
}

.commonBlock {
    width: 1200px;
    margin: 0 auto;
}
